<script type="text/javascript" src="includes/amcharts/swfobject.js"></script>
<script  type="text/javascript">
	var expires = 24 * 1000 * 60 * 60 * 24;
	var expdate=new Date();
	var expires = new Date( expdate.getTime() + (expires) );

	function ActivateGettingStarted()
	{
		$('#HomeGettingStarted')[0].style.display = '';
		$('#HomeQuickLinks')[0].style.display = 'none';
		document.cookie = "%%GLOBAL_cookiePrefix%%HomeLinks" + "=" +"HomeQuickLinks" +
		( ( expires ) ? ";expires=" + expires.toGMTString() : "" );
	}

	function ActivateQuickLinks()
	{
		$('#HomeGettingStarted')[0].style.display = 'none';
		$('#HomeQuickLinks')[0].style.display = '';
		document.cookie = "%%GLOBAL_cookiePrefix%%HomeLinks" + "=" +"HomeGettingStarted" +
		( ( expires ) ? ";expires=" + expires.toGMTString() : "" );
	}

	function toggleActiveLink() {
		if ($('#HomeGettingStarted')[0].style.display == 'none') {
			ActivateGettingStarted();
		} else {
			ActivateQuickLinks();
		}
	}
	
</script>
<div class="BodyContainer">

<div class="Heading1">%%LNG_Home%%</div>

	<br />
	%%GLOBAL_Message%%
	%%GLOBAL_UpgradeEdition%%
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="570" style="width:570px;" valign="top"  height="100%">
				<table width="570" cellspacing="0" cellpadding="0" class="DashboardPanel" height="100%" id="HomeGettingStarted" style="display:%%GLOBAL_GbHomeGettingStarted%%;">
					<tr>
						<td class="Heading2">
							<div style="float:left;" class="PanelHeader" id="HomeStartTitle">%%LNG_GettingStartedGuide%%
							</div>
							<div style="padding: 3px 5px 0px 0px; float: right; font-weight: normal;">
								<a id="SwitchLinks" href="#" onclick="toggleActiveLink();" style="color:gray;">%%LNG_QuickLinkText%%</a>
							</div>
						</td>
					</tr>
					<tr valign="top">
						<td class="PanelContent IndexPage_GettingStarted_Content" id="mainLinks">
							<div class="IndexPage_GettingStarted_Content_Header">%%LNG_WhatWouldYouLike%%</div>
							<div class="IndexPage_GettingStarted_Content_Intro">%%LNG_IWouldLikeToIntro%%</div>
							<table width="100%" height="258">
							
							<tr>
								<td width="60" valign="top">
									<img style="float: left;" src="images/gs_video.gif"/>
								</td>
								<td valign="top">
									<a class="IndexPage_GettingStarted_Content_Link" target="_blank" href="%%LNG_QuickVideoLink%%">%%LNG_GettingStarted1%%</a>
									<div style="padding-top: 2px;">%%LNG_GettingStarted1Intro%%</div>
								</td>
							</tr>
							
							<tr>
								<td width="60" valign="top">
									<img style="float: left;" src="images/gs_category.gif"/>
								</td>
								<td valign="top">
									<a class="IndexPage_GettingStarted_Content_Link" href="index.php?ToDo=createCategory">%%LNG_GettingStarted2%%</a>
									<div style="padding-top: 2px;">%%LNG_GettingStarted2Intro%%</div>
								</td>
							</tr>
							
							<tr>
								<td width="60" valign="top">
									<img style="float: left;" src="images/gs_article.gif"/>
								</td>
								<td valign="top">
									<a class="IndexPage_GettingStarted_Content_Link" href="index.php?ToDo=createQuestion">%%LNG_GettingStarted3%%</a>
									<div style="padding-top: 2px;">%%LNG_GettingStarted3Intro%%</div>
								</td>
							</tr>
							
							<tr>
								<td width="60" valign="top">
									<img style="float: left;" src="images/gs_news.gif"/>
								</td>
								<td valign="top">
									<a class="IndexPage_GettingStarted_Content_Link" href="index.php?ToDo=createNews">%%LNG_GettingStarted4%%</a>
									<div style="padding-top: 2px;">%%LNG_GettingStarted4Intro%%</div>
								</td>
							</tr>
							
							<tr>
								<td width="60" valign="top">
									<img style="float: left;" src="images/gs_report.gif"/>
								</td>
								<td valign="top">
									<a class="IndexPage_GettingStarted_Content_Link" href="index.php?ToDo=viewStatsQuestions">%%LNG_GettingStarted5%%</a>
									<div style="padding-top: 2px;">%%LNG_GettingStarted5Intro%%</div>
								</td>
							</tr>
							
							</table>
						</td>
					</tr>
				</table>
				<table id="HomeQuickLinks" width="570" cellspacing="0" cellpadding="0" class="DashboardPanel" height="100%" style="display:%%GLOBAL_GbHomeQuickLinks%%;">
					<tr>
						<td class="Heading2">
							<div class="PanelHeader" id="HomeStartTitle" style="float:left;">%%LNG_IWouldLikeTo%%</div>
							<div style="padding: 3px 5px 0px 0px; float: right; font-weight: normal;">
								<a id="SwitchLinks" onclick="toggleActiveLink();" href="#"  style="color:gray;">%%LNG_StartedLinkText%%</a>
							</div>
						</td>
					</tr>
					<tr valign="top">
						<td class="PanelContent IndexPage_GettingStarted_Content" id="iwouldliketo">
							<div class="IndexPage_GettingStarted_Content_Header">%%LNG_WhatWouldYouLike%%</div>
							<div class="IndexPage_GettingStarted_Content_Intro">%%LNG_IWouldLikeToIntro%%</div>

							<table width="100%" height="262">
								<tr>
									<td valign="top" width="40%">
										<ul>
											<li>%%GLOBAL_ManageQuestionsLink%%</li>
											<li>%%GLOBAL_CreateQuestionLink%%</li>
											<li>%%GLOBAL_ReviewSubmittedQuestionsLink%%</li>
											<li>%%GLOBAL_ManageUsersLink%%</li>
											<li>%%GLOBAL_CreateUserLink%%</li>
											<li>%%GLOBAL_ManageCommentsLink%%</li>
										</ul>
									</td>
									<td valign="top">
										<ul>
											<li>%%GLOBAL_ManageCategoriesLink%%</li>
											<li>%%GLOBAL_CreateCategoryLink%%</li>
											<li>%%GLOBAL_ManageGroupsLink%%</li>
											<li>%%GLOBAL_CreateGroupLink%%</li>
											<li>%%GLOBAL_ManageStatisticsLink%%</li>
										</ul>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>

			</td>
			<td>&nbsp;&nbsp;&nbsp;</td>
			<td valign="top" height="100%">
				<table width="100%" cellspacing="0" cellpadding="0" class="DashboardPanel" style="margin-bottom:10px;display:%%GLOBAL_ShowNotice%%;">
					<tr>
						<td class="Heading2">
							<div class="PanelHeader" id="ImportantKbNotifications">%%LNG_ImportantKbNotifications%%</div>
						</td>
					</tr>
					<tr>
						<td valign="top">
							<ul>
								%%GLOBAL_NoticesLists%%
							</ul>
						</td>
					</tr>
				</table>

				<table width="100%" cellspacing="0" cellpadding="0" class="DashboardPanel" style="display:%%GLOBAL_ShowWholeGraph%%;" >
					<tr>
						<td class="Heading2">
							<div class="PanelHeader" id="HomeArticlPerUser">%%GLOBAL_GraphTitle%%</div>
						</td>
					</tr>
					<tr>
						<td class="PanelContent">
						<form action="index.php?ToDo=updateHomeStatsUsers" name="frmStatsHome" id="frmStatsHome" method="post">
						<br/>
							<div style="padding-top:3pt;padding-left:5px;margin-left:9px;color:#000000; display:%%GLOBAL_DateRange%%;">
								%%LNG_StatsUsersArticlesInfo%%
							</div>
						<br/>
						<table border=0 cellspacing=0 cellpadding=0 style="margin-left:9px; display:%%GLOBAL_DateRange%%;" >
							<tr>
								<td class="Text" width="90" bgcolor="#FFFFFF" style="padding-top:3pt" nowrap>&nbsp;<img src="images/dateicon.gif" width="20" height="20" align="absMiddle">&nbsp;%%LNG_DateRange%%: </td>
								<td width=90 bgcolor="#FFFFFF">
									<select name="Calendar[DateType]" id="Calendar" class="CalendarSelect" onChange="doCustomDate(this, 1)">
										%%GLOBAL_CalendarDateTypeOptions%%
									</select>
								</td>
								<td width=50 bgcolor="#FFFFFF" style="padding-top:5pt"><input type=submit value="%%LNG_Go%%" class="Text" style="margin-bottom:5px; margin-left:5px;"></td>
								<td bgcolor="#FFFFFF" nowrap style="padding-top:5pt">
									<span id=customDate1 style="display:%%GLOBAL_CustomDisplay%%;">&nbsp;
									<select name="Calendar[From][Day]" class="CalendarSelectSmall" style="margin-bottom:3px">
										%%GLOBAL_ArticlePerUserFromDays%%
									</select>
									<select name="Calendar[From][Mth]" class="CalendarSelectSmall" style="margin-bottom:3px">
										%%GLOBAL_ArticlePerUserFromMonths%%
									</select>
									<select name="Calendar[From][Yr]" class="CalendarSelectSmall" style="margin-bottom:3px">
										%%GLOBAL_ArticlePerUserFromYears%%
									</select>
									<span class=body>%%LNG_To1%%</span>
									<select name="Calendar[To][Day]" class="CalendarSelectSmall" style="margin-bottom:3px">
										%%GLOBAL_ArticlePerUserToDays%%
									</select>
									<select name="Calendar[To][Mth]" class="CalendarSelectSmall" style="margin-bottom:3px">
										%%GLOBAL_ArticlePerUserToMonths%%
									</select>
									<select name="Calendar[To][Yr]" class="CalendarSelectSmall" style="margin-bottom:3px">
										%%GLOBAL_ArticlePerUserToYears%%
									</select>
									</span>&nbsp;
								</td>
								<td nowrap class=body id="showDate1" style="display:none; padding-top: 6pt;">&nbsp;&nbsp;</td>
								<td nowrap >&nbsp;</td>
							</tr>
						</table>
						%%GLOBAL_GraphMessage%%
						<div style="padding:12px;display:%%GLOBAL_ShowGraph%%;">
							<div id="flashcontent1" style="width: 100%; clear: both;">
							</div>
							%%GLOBAL_ArticlePerUserDisplay%%
						</div>
						</form>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>

</div>

<script type="text/javascript">
var latest_version = '5.1.1';
$.ajax({
	type: 'post',
	url: 'remote.php',
	data: 'type=saveVersion&v='+latest_version
});
</script>
</div>